package com.cc.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cc.pms.domain.TeamApplication;
import com.cc.pms.domain.vo.TeamApplicationVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 记录用户申请加入队伍的请求及处理状态 Mapper 接口
 * </p>
 *
 * @author corleone
 * @since 2025-04-19
 */
public interface TeamApplicationMapper extends BaseMapper<TeamApplication> {


    Page<TeamApplicationVo> queryTeamApplicationHistory(Page<TeamApplicationVo> page ,@Param("userId") Long userId);


    Page<TeamApplicationVo> queryManageApplicationTeamHistory(Page<TeamApplicationVo> page ,@Param("teamId") Long teamId);
}

